package top.lidee.repository.model;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Null;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 店铺表
 * <p>
 * Created by FSQ
 * CopyRight https://www.lidee.top
 */
@Getter
@Setter
@TableName("yfb_tpb_ali_bank_account")
@ApiModel(value = "MtAliBankAccount对象", description = "支付宝店铺结算银行账户")
public class MtAliBankAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    @Null
    @ApiModelProperty("自增ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("店铺ID")
    private Integer storeId;

    @ApiModelProperty("支付宝默认结算类型(1：支付宝账户，2：银行卡)")
    private Integer accountInstId;

    @ApiModelProperty("支付宝账号")
    private String alipayNum;

    @ApiModelProperty("银行卡类型（0：借记卡-DC，1：信用卡-CC）")
    private String accountType;

    @ApiModelProperty("银行卡账号使用类型（0：对公，1：对私）")
    private String usageType;

    @ApiModelProperty("银行卡卡号")
    private String bankCardNumber;

    @ApiModelProperty("银行卡开户人/名")
    private String bankCardHolder;

    @ApiModelProperty("开户支行名")
    private String accountBranchName;

    @ApiModelProperty("开户行所在地-省")
    private String accountInstProvince;

    @ApiModelProperty("开户行所在地-市")
    private String accountInstCity;

    @ApiModelProperty("费率")
    private String rate;

    @ApiModelProperty("联系人")
    private String contactName;

    @ApiModelProperty("联系人手机号")
    private String contactMobile ;

    @ApiModelProperty("联系人邮箱")
    private String contactEmail;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date updateTime;


}
